#include "tabwidget.h"
#include "ui_tabwidget.h"

tabwidget::tabwidget(QWidget *parent)
    : QWidget(parent)
    , ui(new Ui::tabwidget)
{
    ui->setupUi(this);
    ui->tabWidget->removeTab(0);
    ui->tabWidget->removeTab(0);
    ui->tabWidget->addTab(new RankList,"排行榜");
    ui->tabWidget->addTab(new SongList,"歌单");
}

tabwidget::~tabwidget()
{
    delete ui;
}


